﻿namespace DiskUsage.CoreLib
{
    public static class SizeStoreFactory
    {
        private static ISizeStore s_sizeStore = null;
        private static object s_lock = new object();
       
        public static ISizeStore GetSizeStore()
        {
            lock (s_lock)
            {
                if (s_sizeStore == null)
                    s_sizeStore = new SizeStore();
            }
            return s_sizeStore;
        }
    }
}
